$(function () {
    $.ajax({
        url: "/LxCommunity/html/head.html",
        type: 'get',
        scriptCharset: 'utf-8',
        contentType: "application/x-www-form-urlencoded; charset=utf-8",
        dataType:"html",
        success:function (data) {
            $("#headerbody").html(data);
        }
    });
    $.ajax({
        url: "/LxCommunity/html/footer.html",
        type: 'get',
        dataType:"html",
        scriptCharset: 'utf-8',
        contentType: "application/x-www-form-urlencoded; charset=utf-8",
        success:function (data) {
            $("#footerbody").html(data);
        }
    });

});